/**
 * Project Name:九色鹿
 * File Name:HttpResult.java
 * Package Name:com.fxp.project.express.pojo
 * Date:2021年09月14日 13:51
 * Copyright (c) 2021, Jason.Wang All Rights Reserved.
 */
package com.fxp.project.express.pojo;

import lombok.Data;

/**
 * ClassName:HttpResult<br/>
 * Function: 请求返回的对象<br/>
 * Date:2021年09月14日 13:51<br/>
 *
 * @author Jason.Wang
 * @version 1.0.0.0
 * @see
 * @since JDK 8
 */
@Data
public class HttpResult {
    /**
     * 响应状态
     */
    private int status;
    /**
     * 返回对象
     */
    private String body;
    /**
     * 返回错误
     */
    private String error;

    public HttpResult() {
    }

    public HttpResult(int status, String body, String error) {
        this.status = status;
        this.body = body;
        this.error = error;
    }
}